﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Entity.Models
{
    /// <summary>
    /// 工商业
    /// </summary>
    [Table("RTUInfo")]
    public class RTUInfo
    {
        [Key]
        public int ID { get; set; }//int auto_increment primary key,
        public string? sequence { get; set; }//nvarchar(32),
        public string? domainId { get; set; }//nvarchar(32),
        public string? deviceCode { get; set; }//nvarchar(32),
        public string? factoryCode { get; set; }//nvarchar(32),
        public string? deviceType { get; set; }//nvarchar(32),
        public string? protocolTypeCode { get; set; }//nvarchar(32),
        public string? commMode { get; set; }//nvarchar(32),
        public string? nbImei { get; set; }//nvarchar(64),
        public string? nbImsi { get; set; }//nvarcahr(64),

        public string? uniqueDeviceIdentifier { get; set; }//nvarchar(64),
        public int? IsDelete { get; set; }//int,
        public int? IsStatus { get; set; }//int,
        public string? ResultMsg { get; set; }//nvarchar(200),
        public DateTime? RegisterDate { get; set; }//datetime,
        public DateTime? DeleteDate { get; set; }// datetime,

        public DateTime? CreateDate { get; set; }//datetime
    }
}